<?php

class Links_Backend_Links_Delete extends Backend_Component_Delete 
{
    
    /**
     * Delete record.
     *
     * @return  boolean
     */
    protected function _delete() 
    {
        $this->back = str_replace('filter', Links_Utils::activeFilter(), $this->back);
        
        return database::delete('links', (int)Application::getRequest()->get('id'));
    }
    
}